package com.xmy.cultivate.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xmy.cultivate.entity.RepairCourse;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 补课表 Mapper 接口
 * </p>
 *
 * @author hpiggy
 * @since 2023-03-09
 */
public interface RepairCourseMapper extends BaseMapper<RepairCourse> {

    @Select("select teacher_name from repair_course where teacher_id = #{teacher_id} group by teacher_id")
    public abstract String getTeacherName(@Param("teacher_id")String teacherId);
}
